<template>
	<div>
		<div class="flex justify_content_between align_items_center content-wrapper p_lr_20 m_b_20">
			<div>
				<h2>头部图</h2>
			</div>
			<div>
				<Language></Language>
			</div>
		</div>
		
		<div class="content-wrapper p_20 indexBanner">
			<el-form label-width="120px">
				
				<UploadImg ref="UploadImg" :upImg = "upImg"></UploadImg>
				



				<el-form-item label="">
					<el-button type="primary" size="small" @click="edit">保存</el-button>
				</el-form-item>

			</el-form>
		</div>

		<!-- <el-divider ></el-divider>
		
		<el-form :model="form" label-width="120px">
			<el-form-item label="标题">
				<el-input v-model="form.title" class="w_400"></el-input>
			</el-form-item>
			<el-form-item label="description">
				<el-input v-model="form.description" type="textarea" maxlength="150" class="w_400" show-word-limit></el-input>
			</el-form-item>
			<el-form-item label="keywords">
				<el-input v-model="form.keywords" type="textarea" maxlength="150" class="w_400" show-word-limit></el-input>
			</el-form-item>
			
			<el-form-item label="网页名">
				<el-input v-model="form.url" class="w_400"></el-input>
			</el-form-item>
			
			
			<el-form-item label="">
				<el-button type="primary" size="small" @click="edit">保存</el-button>
			</el-form-item>
			
		</el-form> -->
	</div>
</template>
<script type="text/javascript">
	import methods from './method'

	export default {
		data() {
			return {
				form: {}, //列表数据
				total: '', //数据总条数
				id: 1,
				upImg:{
					label: '默认背景图',
					imageUrl: '',
					name: 'file',
					width: '1920',
					height: '675',
					file: ''
				}
			}
		},
		methods: methods,
		mounted() {
			this.getTableData()
		}
	}
</script>
